package com.jiayinlending.jiayindai.activity.login;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

import com.jiayinlending.jiayindai.R;
import com.jiayinlending.jiayindai.activity.base.BaseActivity;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

import static com.jiayinlending.jiayindai.R.id.bt_next;
import static com.jiayinlending.jiayindai.R.id.et_resnum;

public class RegisterActivity extends BaseActivity {

    @Bind(R.id.et_yanzhengma)
    EditText etYanzhengma;
    @Bind(bt_next)
    Button btNext;
    @Bind(R.id.et_resnum)
    EditText etResnum;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ButterKnife.bind(this);
        getToolbarTitle().setText("注册");
        getSubTitle().setText("");
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_register;
    }


    @OnClick({R.id.et_yanzhengma, bt_next})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.et_yanzhengma:
                break;
            case bt_next:
                startActivity(new Intent(RegisterActivity.this, SetPasswordActivity.class));
                finish();
                break;
            case et_resnum:
                break;
        }
    }
}
